<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://shale.apache.org/validator">

<f:view>
<f:loadBundle var="text" basename="#{reviewTest.bundleName}"/>
<head>
    <title>Current Test</title>
    <meta name="menu" content="UserMenu"/>
    <meta name="heading" content="${result.testName}"/>
</head>

DELETE THIS FILE!!!!

<c:forEach var="result" items="#{reviewTest.displayTestResult}">
	<h2><h:outputText value="#{result.testName}"/></h2>
	<p><h:outputText  value="#{result.scoreShortDescription}"/></p>
	<p><h:outputText  value="#{result.scoreLongDescription}" escape="false"/></p>
	<p><h:outputText value="Max possible score=" rendered="#{result.testTemplate.reportTemplate.showMaxScore}"/> 
	   <h:outputText value="#{result.maxScore}" rendered="#{result.testTemplate.reportTemplate.showMaxScore}"/></p>
	<p><h:outputText value="Raw score=" rendered="#{result.testTemplate.reportTemplate.showRawScore}"/> 
	   <h:outputText value="#{result.rawScore}" rendered="#{result.testTemplate.reportTemplate.showRawScore}"/></p>
	<p><h:outputText value="Percentage Score=" rendered="#{result.testTemplate.reportTemplate.showPercentageScore}"/> 
	   <h:outputText value="#{result.percentageScore}" rendered="#{result.testTemplate.reportTemplate.showPercentageScore}"/></p>
	<p><h:outputText value="z score=" rendered="#{result.testTemplate.reportTemplate.showZetaScore}"/> 
	   <h:outputText value="#{result.zetaScore}" rendered="#{result.testTemplate.reportTemplate.showZetaScore}"/></p>
	<p><h:outputText value="Percentile Rank Normed=" rendered="#{result.testTemplate.reportTemplate.showPercentileRank}"/> 
	   <h:outputText value="#{result.percentileRank}" rendered="#{result.testTemplate.reportTemplate.showPercentileRank}"/></p>
	<p><h:outputText value="Percentile Rank Sten=" rendered="#{result.testTemplate.reportTemplate.showStenScore}"/> 
           <h:outputText value="#{result.stenScore}" rendered="#{result.testTemplate.reportTemplate.showStenScore}"/></p>
	<p><h:outputText value="Ability estimate based on EAP is " rendered="#{result.testTemplate.reportTemplate.showThetaEAP}"/> 
           <h:outputText value="#{result.thetaEAP}" rendered="#{result.testTemplate.reportTemplate.showThetaEAP}"/></p>
	<p><h:outputText value="Ability estimate based on ML is " rendered="#{result.testTemplate.reportTemplate.showThetaML}"/> 
           <h:outputText value="#{result.thetaML}" rendered="#{result.testTemplate.reportTemplate.showThetaML}"/></p>
	<p><h:outputText value="Ability estimate based on MAP is " rendered="#{result.testTemplate.reportTemplate.showThetaMAP}"/> 
           <h:outputText value="#{result.thetaMAP}" rendered="#{result.testTemplate.reportTemplate.showThetaMAP}"/></p>
	<p><h:outputText value="Error for EAP is " rendered="#{result.testTemplate.reportTemplate.showErrorEAP}"/> 
           <h:outputText value="#{result.errorEAP}" rendered="#{result.testTemplate.reportTemplate.showErrorEAP}"/></p>
	<p><h:outputText value="Error for ML is " rendered="#{result.testTemplate.reportTemplate.showErrorML}"/> 
           <h:outputText value="#{result.errorML}" rendered="#{result.testTemplate.reportTemplate.showErrorML}"/></p>
	<p><h:outputText value="Error for MAP is " rendered="#{result.testTemplate.reportTemplate.showErrorMAP}"/> 
           <h:outputText value="#{result.errorMAP}" rendered="#{result.testTemplate.reportTemplate.showErrorMAP}"/></p>
</c:forEach>

<h:form id="reviewTest">
	<span class="buttongroup">
	   <h:commandButton value="#{text['button.done']}" action="resultDone" id="cancel" immediate="true" styleClass="button_small" />
	</span>
</h:form>

</f:view>
</html>
